<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
    	if ($_SESSION['admin'] == null) {
    		$this->redirect('Login/index');
    	}else{
	        $this->display();
    	}
    }


}